package com.niiwoo.civet.user.dao.mapper;

import com.niiwoo.civet.user.dao.entity.UserQuestionIdentity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserQuestionIdentityMapperExt extends UserQuestionIdentityMapper {
    /**
     * 根据用户身份查询热门问题
     * @return
     */
    List<UserQuestionIdentity> selectHotProblemByUserTag(@Param("identityTag") byte identityTag,@Param("relevant") byte relevant);

    /**
     * 查询所有热门问题
     * @return
     */
    List<UserQuestionIdentity> selectHotProblem();
}